package com.soft.line.service;

import com.soft.line.entity.LasDepartmentInfo;
import com.soft.line.entity.UserInfo;
import com.soft.line.entity.UserPermission;
import com.soft.line.util.MP.AjaxResult;
import com.soft.line.util.exception.CommonResult;
import com.soft.line.util.exception.ResultData;

import java.util.Map;

/**
 * @author wu.xueqiao on 2020/5/12.
 * @version 0.1
 */
public interface LoginService {

     CommonResult userLogin(Map<String,String> map);

     CommonResult loginOut();

    AjaxResult autoLogin(String code);

    AjaxResult bindUserInfo(Map<String,String> map);

    AjaxResult getUserInfo(Map<String,String> map);

    AjaxResult updatePassword(Map<String,Object> map);

    AjaxResult untie();

    UserPermission getUserPermission();

    LasDepartmentInfo getSupDep(String depId);
}
